//
//  MainCollectionViewSmallLayout.m
//  ShaLi
//
//  Created by dllo on 15-4-16.
//  Copyright (c) 2015年 HANJR. All rights reserved.
//

#import "MainCollectionViewSmallLayout.h"
// 获取当前屏幕高度
#define kMainScreenHeight ([UIScreen mainScreen].applicationFrame.size.height)
@implementation MainCollectionViewSmallLayout

- (id)init
{
    if (!(self = [super init])){
        return nil;
    }
    self.itemSize = CGSizeMake(142, 254);
    self.sectionInset = UIEdgeInsetsMake(0, 2, 0, 2);
    self.minimumInteritemSpacing = 10.0f;
    self.minimumLineSpacing = 2.0f;
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    
    return self;
}

- (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)oldBounds
{
    return YES;
}


@end
